using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace GraphAlgsPresentation.Core
{
    /// <summary>
    /// Drawing with no effect
    /// </summary>
    class NoEffectDrawing : IEffect
    {
        /// <summary>
        /// Draws the specified plotter.
        /// </summary>
        /// <param name="plotter">The plotter.</param>
        public void Draw(GraphPlotter plotter)
        {
            plotter.Draw();
            if (plotter.Alarm != null)
                plotter.Alarm(plotter, new AlarmEventArgs(string.Empty));
        }
    }
}
